package com.supermap.dubbo.api.cloud.cust.role;


import com.supermap.dataservice.util.JSONUtil;

/**
 * @author aqua
 * @desc
 * @date 2019年02月28 16:24
 * @email 1301584033@qq.com
 */
public interface SysAreaRoleService {

    //区域树
    JSONUtil getTreeArea();


    //角色树
    JSONUtil getTreeRole(String areaCode);


    //分配
    JSONUtil putAreaRole(String areaCode,String roleIds);


    //区域角色树
    JSONUtil getTreeAreaRole(String areaCode,Integer roleId);



    //区域角色菜单树
    JSONUtil getTreeAreaRoleMenu(String areaCode,Integer roleId);




    //给角色分配区域菜单
    JSONUtil putRoleAreaMenu(String menuId,Integer areaRoleId);
}
